<!--#include file="Config.asp" -->
<!--#include file="HeadTop.asp"-->

<%
UrlID=Trim(request("UrlID"))
SQL="select * from plan_URL where ID="&UrlID
rs.open sql,conn,1,1
UrlTitle=Trim(RS("Title"))
Url=Trim(RS("MyUrl"))
%>
<!-- 基本信息 //////////////////////////////////////////////////////////////////////////////////////////////-->
<TABLE ID='TableMain' align='center' CELLPADDING='4'>
<TR>
<TD valign=top style='line-height:150%'>
<font color="3366ff"><h2><u><%=UrlTitle%></u></h2></font>
地址：<a href="" target='_blank'>../</a>
修改：<A HREF="UrlEdit.asp?UrlID=<%=UrlID%>"><B>[Edit]</B></A>
</TD>
</TR>

<TR bgcolor='#f6f6f6'>
<TD valign=top>
<font color="3333cc"><%=Trim(rs("Info"))%></font>
</TD>
</TR>
</table>

<%
rs.close
%>
<!-- log //////////////////////////////////////////////////////////////////////////////////////////////-->
<table ID='TableMain' align='center' cellpadding="1" cellspacing="1" border="0">
<TR bgcolor='#ddeeff'>
<TD>日志Type</TD>
<TD>内容</TD>
<TD>时间</TD>
</TR>
<FORM METHOD=POST ACTION="UrlSave.asp?ActionType=SaveAddLog&UrlID=<%=UrlID%>">
<TR  bgcolor='#f6f6f6'>
<TD><SELECT NAME="LogTypeID">
<%
sql="select * from Plan_URLLogType order by ID"
rs.open sql,conn,1,1
for ForUserID=1 to rs.recordcount
%>
<OPTION VALUE="<%=int(RS("id"))%>"><%=int(rs("ID"))%>.<%=Trim(rs("title"))%></option>
<%
rs.moveNext
next
rs.close
%>
</SELECT>
</TD>
<TD><input type="text" NAME="content" size='60'>&nbsp;<INPUT TYPE="submit" value='增加'></TD>
<TD>&nbsp;</TD>
</TR>
</FORM>
<%
SQL="select * from Plan_URLLog where UrlID="&UrlID&" and UserID='"&session("AnyPIM_userid")&"' order by id desc"
rs.open sql,conn,1,1
for ForUserID=1 to rs.recordcount
%>
<TR>
<TD style="border-bottom:#CCCCCC 1px solid;"><%=ShowURLLogName(int(RS("LogID")))%></TD>
<TD style="border-bottom:#CCCCCC 1px solid;"><%=RS("content")%></TD>
<TD style="border-bottom:#CCCCCC 1px solid;"><%=RS("DOtime")%></TD>
</TR>
<%
rs.moveNext
next
rs.close
%>
</TABLE>


<!-- #include file="foot.asp" -->
